package jmlee.basic;

public class J02_ShortCircuit {

	public static void main(String[] args) {
		
		boolean aa, bb, cc, dd, ee;
		aa = true&&false && true||true;
		bb = true||true && true && false;
		cc =(true&&false)||(true && ! false) || (false && !false);
		dd =(2<3)||(5>2) && !(4==4) || (9 !=4);
		ee = 6==9 || 5<6 && 8 < 4 || 4>3;
		
		System.out.println("true&&false && true||true                             = " + aa);
		System.out.println("true||true && true && false                           = " + bb);
		System.out.println("(true&&false)||(true && ! false) || (false && !false) = " +cc);
		System.out.println("(2<3)||(5>2) && !(4==4) || 9 !=4)                     = " + dd);
		System.out.println("6==9 || 5<6 && 8 < 4 || 4>3                           = "+ee);


	}

}
